#include <iostream>
#include <QCoreApplication>
using namespace std;
int main()
{
  int A,B,R = 0;
  cout<<"Vvedite A (A<B): ";
  cin>>A;
  cout<<"Vvedite B (A<B): ";
  cin>>B;
  R = B;
  if (A<B)
  {
    int N = 0;
    for (;B>A+1;B--)
    {
      R--;
      cout<<R<<endl;
      N++;
    }
    cout<<N;
  }
  return 0;
}
